package vcp.application;

import db.parking.beans.Employee;

public class UserManagement {
    private static UserManagement instance = null;
    private Employee employee;    
    private UserManagement(){
    	
    }
    public static UserManagement getInstance(){
    	if(instance==null){
    		instance = new UserManagement();
    	}
    	return instance;
    }
	public Employee getEmployee() {	
		if(employee!=null)
	    	return employee;
		return null;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	
	public void clearEmployeeSession(){
		this.employee = null;
	}
}
